279e7c8753f7bcf59f474663ed888c35fba940da,portal-web/test/com/liferay/portalweb/portal/controlpanel/messageboards/AddNullTitleTest.java,AddNullTitleTest,testAddNullTitle,#,24
Before Change
selenium.selectFrame("relative=top");
selenium.saveScreenShotAndSource();
assertFalse(selenium.isTextPresent("This field is required."));
selenium.clickAt("//input[@value='Publish']",
RuntimeVariables.replace(""));
assertEquals(RuntimeVariables.replace("This field is required."),
selenium.getText(
"//div[@class='aui-form-validator-message required']"));
After Change
selenium.type("//textarea[@id='_162_editor']",
RuntimeVariables.replace("This is a Null Test Entry!"));
selenium.saveScreenShotAndSource();
selenium.type("//input[@id='_162_subject']",
RuntimeVariables.replace(""));
selenium.saveScreenShotAndSource();
selenium.clickAt("//input[@value='Publish']",
RuntimeVariables.replace("Publish"));